package com.rectcircle.wechat.msg.vo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.rectcircle.wechat.util.CDATAAdapter;

/**
 * 
 * 回复视频消息是对视频的封装<br>
 * 使用本工具的用户不需要手动创建，供内部使用
 * 
 * @author RectCircle
 * @version 0.1<br>
 * 2016年7月18日-上午12:14:16<br>
 * Copyright (c) 2016 RectCircle-版权所有<br>
 *
 */
@XmlRootElement(name="Video")
@XmlAccessorType(XmlAccessType.FIELD)
public class Video {
	@XmlJavaTypeAdapter(CDATAAdapter.class)
	@XmlElement(name="MediaId")
	private String MediaId = null;

	@XmlJavaTypeAdapter(CDATAAdapter.class)
	@XmlElement(name="Title")
	private String Title = null;

	@XmlJavaTypeAdapter(CDATAAdapter.class)
	@XmlElement(name="Description")
	private String Description = null;
	
	public Video() {
	}

	
	
	public Video(String mediaId, String title, String description) {
		super();
		MediaId = mediaId;
		Title = title;
		Description = description;
	}



	public String getDescription() {
		return Description;
	}

	public String getMediaId() {
		return MediaId;
	}

	public String getTitle() {
		return Title;
	}

	public void setDescription(String description) {
		Description = description;
	}

	public void setMediaId(String mediaId) {
		MediaId = mediaId;
	}

	public void setTitle(String title) {
		Title = title;
	}

	@Override
	public String toString() {
		return "Video [MediaId=" + MediaId + ", Title=" + Title + ", Description=" + Description + "]";
	}


}
